﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
		mc:Ignorable="d" 
		x:Class="Reporter.Controls.ReportInfoParametersDialogBox"
		xmlns:data="clr-namespace:Reporter.Data"
		xmlns:controls="clr-namespace:Reporter.Controls"
		xmlns:system="clr-namespace:System;assembly=mscorlib" 
        Title="Project template parameters"
        Height="260"
        Width="460"
        MinHeight="10"
        MinWidth="300"
        ResizeMode="NoResize"
        ShowInTaskbar="False"
        WindowStartupLocation="CenterOwner"        
        Background="{x:Null}" 
        AllowsTransparency="True" 
        WindowStyle="None"
        x:Name="ThisWindow">
	
	<Window.Resources>		

	</Window.Resources>
	
    <Grid x:Name="LayoutRoot" DataContext="{Binding}">
		<Border x:Name="OuterPanel" Background="{DynamicResource TextBrush}" Style="{DynamicResource ApplicationOuterPanelBorderStyle}">
			<Border x:Name="Panel" Background="{DynamicResource ApplicationPanelBackgroundBrush}" Style="{DynamicResource ApplicationPanelBorderStyle}">
				<Grid Margin="5">
					<Border Background="{DynamicResource ControlBackgroundLightOpaqueBrush}" BorderBrush="{DynamicResource ApplicationPanelBackgroundBrush}" Style="{DynamicResource ApplicationInnerPanelBorderStyle}" Margin="0,30,0,0" >
						<Grid Margin="3" >
							<Grid.RowDefinitions>
								<RowDefinition Height="0.847*"/>
								<RowDefinition Height="0.153*"/>
							</Grid.RowDefinitions>
							<Grid.ColumnDefinitions>
								<ColumnDefinition/>
							</Grid.ColumnDefinitions>
							<ListBox x:Name="reportInfoParameters_lb" Margin="0" ItemsSource="{Binding ReportParameters}" ItemTemplate="{DynamicResource ReporInfoParameterDataTemplate}" Visibility="Collapsed"/>
							<StackPanel Orientation="Horizontal" Grid.Row="1" VerticalAlignment="Top" Margin="0,0.906,5,0" HorizontalAlignment="Right">
								<Button x:Name="OK_bt" Click="OK_bt_Click" Content="OK" Padding="5" Height="25" Margin="0,0,5,0" Width="50"/>
								<Button x:Name="Cancel_bt" Click="Cancel_bt_Click" Content="Cancel" Padding="5" Height="25" Width="50" Visibility="Collapsed" />
							</StackPanel>
							<Border Margin="0,0,0,5" Background="White" CornerRadius="0,0,5,5" >
								<DataGrid ItemsSource="{Binding ReportParameters}" AutoGenerateColumns="False" GridLinesVisibility="None" BorderBrush="{x:Null}" Foreground="{DynamicResource ControlBackgroundBrush}" SelectionMode="Single">
									<DataGrid.Columns>
										<DataGridTextColumn Header="Parameter" IsReadOnly="True" SortMemberPath="Name" Binding="{Binding Name}"/>
										<DataGridTextColumn Header="Value" Binding="{Binding Value}"/>
									</DataGrid.Columns>
								</DataGrid>
							</Border>
                        </Grid>
					</Border>
					<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Project template parameters" VerticalAlignment="Top" Foreground="{DynamicResource TextBrush}" FontSize="16" d:LayoutOverrides="VerticalAlignment"/>
       
				</Grid>
       
			</Border>
       
		</Border>
	</Grid>
</Window>
